export const validatorMobile = (data) => {
    const regExp = /^(?:(?:\+|00)86)?1[3-9]\d{9}$/
    const flag = regExp.test(data)
    return flag
}

export const validatorCode = (data) => {
    const regExp = /^[0-9]{6,}$/
    const flag = regExp.test(data)
    return flag
}